package Animal;
//青蛙
public class Frog extends Animal implements IRunning,ISwimming{
    public Frog(String name) {
        super(name);
    }



    @Override
    public void Run() {
        System.out.println(this.name + "正在往前跳");

    }

    @Override
    public void Swimming() {
        System.out.println(this.name + "正在蹬腿游泳");

    }
}
